import requests from "./base";

export const getAllFile = (PageData:PageData)=> requests.get(`/getAllFile?page=${PageData.page}&pageSize=${PageData.pageSize}`)


export const uploadFile = (FormData:FormData)=> requests.post("/uploadFile",FormData)

export const getFileType = ()=> requests.get("/fileType")

export const deleteFile = (id:number) => requests.get(`/deleteFile/${id}`)